<?php

if (!defined('BASEPATH'))
  exit('No direct script access allowed');

class Search extends CI_Controller {
var $data;
  function __construct() {
    parent::__construct();
    $this->load->library('session');
    if ($this->session->userdata('userid') == FALSE) {
      Header("Location:" . site_url('login'));
      exit();
    }
  }

  function index() {
    $this->load->view('admin/search', $this->data);
  }

}